<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>会员中心 - Powered By ${systemConfig.systemName}</title>
<meta name="Author" content="webmall Team" />
<meta name="Copyright" content="webmall" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<#include "/WEB-INF/template/common/include.ftl">
<link href="${base}/template/shop/css/member_center.css" rel="stylesheet" type="text/css" />

<link href="${base}/template/admin/css/input.css" rel="stylesheet" type="text/css" />
<style>
.lSelect
{
height:400px;
width:160px;
margin-bottom:50px;
}
</style>
<script type="text/javascript">
$().ready( function() {

	var $areaSelect = $(".areaSelect");

	// 地区选择菜单
	$areaSelect.lSelect({
		url: "trader_center!ajaxGetSubCategory.action"// AJAX数据获取url
	});

});
</script>

<#if !id??>
	<#assign isAdd = true />
<#else>
	<#assign isEdit = true />
</#if>
</head>
<body class="memberCenter">
	<#include "/WEB-INF/template/shop/header.ftl">
	<div class="body memberCenterIndex">
		<div class="bodyRight" style="width:100%;">
			<div class="memberCenterDetail"  style="width:100%;">
				<div class="top" style="width:100%;">
					商品类别搜索 
				</div>
				<div class="middle">
					<div class="blank"></div>
					<form id="inputForm" class="validate" action="<#if isAdd??>trader_center!publish.action<#else>productstore!update.action</#if>" method="post" enctype="multipart/form-data" >
						<input type="text" name="categoryId" class="areaSelect hidden {required: true, messages: {required: '请选择商品类别！'}, messagePosition: '#productCategory'}" value="${(categoryId)!}" />
									<span id="productCategory"></span>
									<label class="requireField">*</label>
						<div class="buttonArea">
							<input type="submit" class="formButton" value="确  定" hidefocus="true" />&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="button" class="formButton" onclick="window.history.back(); return false;" value="返  回" hidefocus="true" />
						</div>
					</form>
				</div>
				<div class="bottom">
				</div>			
			</div>
		</div>
		
		<div class="blank"></div>
		<#include "/WEB-INF/template/shop/friend_link.ftl">
	</div>
	<div class="blank"></div>
	<#include "/WEB-INF/template/shop/footer.ftl">
</body>
</html>
